﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Valve.VR
{
	// Token: 0x02000753 RID: 1875
	public struct IVRRenderModels
	{
		// Token: 0x04002AA9 RID: 10921
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._LoadRenderModel_Async LoadRenderModel_Async;

		// Token: 0x04002AAA RID: 10922
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._FreeRenderModel FreeRenderModel;

		// Token: 0x04002AAB RID: 10923
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._LoadTexture_Async LoadTexture_Async;

		// Token: 0x04002AAC RID: 10924
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._FreeTexture FreeTexture;

		// Token: 0x04002AAD RID: 10925
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._LoadTextureD3D11_Async LoadTextureD3D11_Async;

		// Token: 0x04002AAE RID: 10926
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._LoadIntoTextureD3D11_Async LoadIntoTextureD3D11_Async;

		// Token: 0x04002AAF RID: 10927
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._FreeTextureD3D11 FreeTextureD3D11;

		// Token: 0x04002AB0 RID: 10928
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetRenderModelName GetRenderModelName;

		// Token: 0x04002AB1 RID: 10929
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetRenderModelCount GetRenderModelCount;

		// Token: 0x04002AB2 RID: 10930
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetComponentCount GetComponentCount;

		// Token: 0x04002AB3 RID: 10931
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetComponentName GetComponentName;

		// Token: 0x04002AB4 RID: 10932
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetComponentButtonMask GetComponentButtonMask;

		// Token: 0x04002AB5 RID: 10933
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetComponentRenderModelName GetComponentRenderModelName;

		// Token: 0x04002AB6 RID: 10934
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetComponentState GetComponentState;

		// Token: 0x04002AB7 RID: 10935
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._RenderModelHasComponent RenderModelHasComponent;

		// Token: 0x04002AB8 RID: 10936
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetRenderModelThumbnailURL GetRenderModelThumbnailURL;

		// Token: 0x04002AB9 RID: 10937
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetRenderModelOriginalPath GetRenderModelOriginalPath;

		// Token: 0x04002ABA RID: 10938
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRRenderModels._GetRenderModelErrorNameFromEnum GetRenderModelErrorNameFromEnum;

		// Token: 0x02000754 RID: 1876
		// (Invoke) Token: 0x06002D32 RID: 11570
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRRenderModelError _LoadRenderModel_Async(string pchRenderModelName, ref IntPtr ppRenderModel);

		// Token: 0x02000755 RID: 1877
		// (Invoke) Token: 0x06002D36 RID: 11574
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FreeRenderModel(IntPtr pRenderModel);

		// Token: 0x02000756 RID: 1878
		// (Invoke) Token: 0x06002D3A RID: 11578
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRRenderModelError _LoadTexture_Async(int textureId, ref IntPtr ppTexture);

		// Token: 0x02000757 RID: 1879
		// (Invoke) Token: 0x06002D3E RID: 11582
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FreeTexture(IntPtr pTexture);

		// Token: 0x02000758 RID: 1880
		// (Invoke) Token: 0x06002D42 RID: 11586
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRRenderModelError _LoadTextureD3D11_Async(int textureId, IntPtr pD3D11Device, ref IntPtr ppD3D11Texture2D);

		// Token: 0x02000759 RID: 1881
		// (Invoke) Token: 0x06002D46 RID: 11590
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate EVRRenderModelError _LoadIntoTextureD3D11_Async(int textureId, IntPtr pDstTexture);

		// Token: 0x0200075A RID: 1882
		// (Invoke) Token: 0x06002D4A RID: 11594
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _FreeTextureD3D11(IntPtr pD3D11Texture2D);

		// Token: 0x0200075B RID: 1883
		// (Invoke) Token: 0x06002D4E RID: 11598
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetRenderModelName(uint unRenderModelIndex, StringBuilder pchRenderModelName, uint unRenderModelNameLen);

		// Token: 0x0200075C RID: 1884
		// (Invoke) Token: 0x06002D52 RID: 11602
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetRenderModelCount();

		// Token: 0x0200075D RID: 1885
		// (Invoke) Token: 0x06002D56 RID: 11606
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetComponentCount(string pchRenderModelName);

		// Token: 0x0200075E RID: 1886
		// (Invoke) Token: 0x06002D5A RID: 11610
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetComponentName(string pchRenderModelName, uint unComponentIndex, StringBuilder pchComponentName, uint unComponentNameLen);

		// Token: 0x0200075F RID: 1887
		// (Invoke) Token: 0x06002D5E RID: 11614
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate ulong _GetComponentButtonMask(string pchRenderModelName, string pchComponentName);

		// Token: 0x02000760 RID: 1888
		// (Invoke) Token: 0x06002D62 RID: 11618
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetComponentRenderModelName(string pchRenderModelName, string pchComponentName, StringBuilder pchComponentRenderModelName, uint unComponentRenderModelNameLen);

		// Token: 0x02000761 RID: 1889
		// (Invoke) Token: 0x06002D66 RID: 11622
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _GetComponentState(string pchRenderModelName, string pchComponentName, ref VRControllerState_t pControllerState, ref RenderModel_ControllerMode_State_t pState, ref RenderModel_ComponentState_t pComponentState);

		// Token: 0x02000762 RID: 1890
		// (Invoke) Token: 0x06002D6A RID: 11626
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _RenderModelHasComponent(string pchRenderModelName, string pchComponentName);

		// Token: 0x02000763 RID: 1891
		// (Invoke) Token: 0x06002D6E RID: 11630
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetRenderModelThumbnailURL(string pchRenderModelName, StringBuilder pchThumbnailURL, uint unThumbnailURLLen, ref EVRRenderModelError peError);

		// Token: 0x02000764 RID: 1892
		// (Invoke) Token: 0x06002D72 RID: 11634
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate uint _GetRenderModelOriginalPath(string pchRenderModelName, StringBuilder pchOriginalPath, uint unOriginalPathLen, ref EVRRenderModelError peError);

		// Token: 0x02000765 RID: 1893
		// (Invoke) Token: 0x06002D76 RID: 11638
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate IntPtr _GetRenderModelErrorNameFromEnum(EVRRenderModelError error);
	}
}
